package com.crazy.enums;

/**
 * @author panyonghui
 * @describe 日期格式枚举
 * @date 2022/1/14 18:08
 */
public enum DateFormatEnum {
    DATE_FORMAT1("yyyyMMdd"),
    DATE_FORMAT2("yyyy-MM-dd"),
    DATE_FORMAT3("yyyy.MM.dd"),
    DATE_FORMAT4("yyyy年MM月dd日"),
    DATE_TIME_FORMAT1("yyyyMMddHHmmss"),
    DATE_TIME_FORMAT2("yyyy-MM-dd HH:mm:ss"),
    DATE_TIME_FORMAT3("yyyyMMddHHmmssSSS"),
    DATE_TIME_FORMAT4("HH:mm:ss"),
    ;

    private String value;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    DateFormatEnum(String value) {
        this.value = value;
    }
}
